#pragma once
#include <time.h>
class GameTime
{
	clock_t startTime;
public:
	GameTime(void);
	~GameTime(void);

	void reset()
	{
		startTime = clock();
	}

	int getElapsedTime()
	{
		return (int)( clock()-startTime )/CLOCKS_PER_SEC;
	}
	int getElapsedMS()
	{
		return (int)( clock()-startTime );
	}
};

